//
//  RequestManager+GRAddress.h
//  YC_GRice
//
//  Created by luojinrong11 on 2018/7/16.
//  Copyright © 2018年 YeCai. All rights reserved.
//

#import "RequestManager.h"

@interface RequestManager (GRAddress)
+(void)getAddressWithType:(NSInteger )type ParentID:(NSInteger)parentId ComplectionHander:(RequestBlock)complectinHander;
+(void)createAddress:(NSDictionary *)dic ComplectionHander:(RequestBlock)complectinHander;

+(void)getMyAddressList:(RequestBlock)complectinHander;
+(void)deleteAddressWithAddressId:(NSInteger)addressId ComplectionHander:(RequestBlock)complectinHander;
+(void)getAddressInfo:(NSInteger)addressId ComplectionHander:(RequestBlock)complectinHander;
+(void)updateAddress:(NSDictionary*)dic ComplectionHander:(RequestBlock)complectinHander;
+(void)setDefaultAddress:(NSInteger)addressId ComplectionHander:(RequestBlock)complectinHander;
@end
